module base 
{
    /**
     * 用户数据
     * @author none
     *
     */
    export class UserData extends PlayerData 
    {
        /**
         * 帐号
         */
        public accounts: string;
        /**
         * 渠道ID
         */
        public channelID: string;
        /**
        * 会员等级
        */
        public vipLevel: number;

        public constructor() 
        {
            super();
        }

        /**
        * 根据数据源设置数据
        */
        public setData(source: any) 
        {
            super.setData(source);
            if(source.accounts) this.accounts = source.accounts;
        }
    }
}